package com.gupao.vip;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.gupao.vip.controller.Teacher;

/**
 * Created by 17082655 on 2019/1/5.
 */
@Repository
public interface TeacherRepository extends JpaRepository<Teacher,Long>{
	//字段名称 与方法名称必须对应
	List<Teacher> findAllByname(String name);
	
}
